package com.xuef.async.handler;

import com.xuef.async.EventHandler;
import com.xuef.async.EventModel;
import com.xuef.async.EventType;
import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;

/**
 * Created by moveb on 2018/5/23.
 */
@Component
public class LoginHandler implements EventHandler {
    @Override
    public void doHandle(EventModel eventModel) {

    }

    @Override
    public List<EventType> getSupportEventTypes() {
        return Arrays.asList(EventType.LOGIN);
    }
}
